

        <g:set var="entityName" value="${message(code: 'student.label', default: 'Student')}" />
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.realname.label" default="Realname" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "realname")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.sex.label" default="Sex" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "sex")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.area.label" default="Area" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "area")}</td>
                            
                        </tr>

                        

                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.address.label" default="Address" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "address")}</td>
                            
                        </tr>

                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.post.label" default="Post" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "post")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.introduction.label" default="Introduction" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "introduction")}</td>
                            
                        </tr>
                        <g:isLoggedIn>
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.tel.label" default="Tel" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "tel")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.mobile.label" default="Mobile" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "mobile")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.qq.label" default="Qq" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "qq")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="student.email.label" default="Email" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInstance, field: "email")}</td>
                            
                        </tr>
                        </g:isLoggedIn>

                         <g:isNotLoggedIn>
                            <tr class="prop">
                            <br>
                                <td valign="top" class="name" colspan="2"><center><g:link controller="login" action="index" ><font size="5" color="red" >请登录后查看联系方式</font></g:link></center></td>
                            </tr>
                        </g:isNotLoggedIn>
                        
                    </tbody>
                </table>
                <%/** 
                <g:include controller="leaveWordMgr" action="studentLeaveWordList" id="${studentInstance?.id}"/>

                <g:isLoggedIn>
                <g:if test="${flash.message}">
                <div class="message">${flash.message}</div>
                </g:if>
                <g:form action="saveToStudentWord" method="post" controller="leaveWordMgr" name="createLeaveWord">
                    <g:hiddenField name="studentId" value="${studentInstance?.id}" />
                    <table>
                        <tbody>
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="personname"><g:message code="leaveWord.personname.label" default="留言人" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: leaveWordInstance, field: 'personname', 'errors')}">
                                    <g:textField name="personname" maxlength="100" value="${leaveWordInstance?.personname}" />
                                </td>
                            </tr>
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="contact"><g:message code="leaveWord.contact.label" default="联系方式" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: leaveWordInstance, field: 'contact', 'errors')}">
                                    <g:textField name="contact" maxlength="100" value="${leaveWordInstance?.contact}" />
                                </td>
                            </tr>
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="content"><g:message code="leaveWord.content.label" default="内容" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: leaveWordInstance, field: 'username', 'errors')}">
                                    <g:textArea name="content" value="${leaveWordInstance?.content}" />
                                </td>
                            </tr>
                             <tr class="prop">
                                <td valign="top" colspan=2>
                                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                                </td>
                            </tr>
                        </tbody>
                  </table>
                   
             </g:form>
             </g:isLoggedIn>

             <g:isNotLoggedIn>
             请登录后<g:link controller="login" >留言</g:link>
             </g:isNotLoggedIn>
             */%>
            </div>
            
